import { createDiscreteApi } from 'naive-ui'

export function useNaiveHooks(): any {
  const { dialog, message } = createDiscreteApi(['dialog', 'message'])
  return {
    dialog,
    message
  }
}
